<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      NASM-2.14.02
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.79.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-9.1">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 9.1
      </h4>
      <h3>
        Chapter&nbsp;13.&nbsp;Programming
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="mercurial.html" title=
          "Mercurial-5.3">Prev</a>
          <p>
            Mercurial-5.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="perl-modules.html" title=
          "Perl Modules">Next</a>
          <p>
            Perl Modules
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="nasm" name="nasm"></a>NASM-2.14.02
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to NASM
        </h2>
        <p>
          <span class="application">NASM</span> (Netwide Assembler) is an
          80x86 assembler designed for portability and modularity. It
          includes a disassembler as well.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.xz">
                http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 6390bd67b07ff1df9fe628b6929c0353
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 812 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 32 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.2 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Optional documentation: <a class="ulink" href=
                "http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02-xdoc.tar.xz">
                http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/nasm-2.14.02-xdoc.tar.xz</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          NASM Dependencies
        </h3>
        <h4>
          Optional (for generating documentation):
        </h4>
        <p class="optional">
          <a class="xref" href="asciidoc.html" title=
          "Asciidoc-8.6.9">asciidoc-8.6.9</a> and <a class="xref" href=
          "../pst/xmlto.html" title="xmlto-0.0.28">xmlto-0.0.28</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/nasm">http://wiki.linuxfromscratch.org/blfs/wiki/nasm</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of NASM
        </h2>
        <p>
          If you downloaded the optional documentation, put it into the
          source tree:
        </p>
        <pre class="userinput">
<kbd class=
"command">tar -xf ../nasm-2.14.02-xdoc.tar.xz --strip-components=1</kbd>
</pre>
        <p>
          Install <span class="application">NASM</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
        <p>
          If you downloaded the optional documentation, install it with the
          following instructions as the <code class="systemitem">root</code>
          user:
        </p>
        <pre class="root">
<kbd class=
"command">install -m755 -d         /usr/share/doc/nasm-2.14.02/html  &amp;&amp;
cp -v doc/html/*.html    /usr/share/doc/nasm-2.14.02/html  &amp;&amp;
cp -v doc/*.{txt,ps,pdf} /usr/share/doc/nasm-2.14.02</kbd>
</pre>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">nasm and ndisasm</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directory:</strong>
              <span class="segbody">/usr/share/doc/nasm-2.14.02</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="nasm-prog" name="nasm-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>nasm</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a portable 80x86 assembler.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ndisasm" name="ndisasm"></a><span class=
                    "term"><span class=
                    "command"><strong>ndisasm</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is an 80x86 binary file disassembler.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-02-16 15:15:05 -0800
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="mercurial.html" title=
          "Mercurial-5.3">Prev</a>
          <p>
            Mercurial-5.3
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="perl-modules.html" title=
          "Perl Modules">Next</a>
          <p>
            Perl Modules
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="prog.html" title=
          "Chapter&nbsp;13.&nbsp;Programming">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 9.1">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
